package cn.hxlc.tie.demo.modular.work.model.result;/*
 @author rui
 @date 2021/6/21 --16:08
*/

import cn.hxlc.tie.demo.core.enums.StatusEnum;
import cn.hxlc.tie.libs.scanner.stereotype.EntityResource;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
@NoArgsConstructor
@ApiModel()
@EntityResource(entityName = "车间",enableTagPrint = true)
public class WorkShopResult implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("")
    private Long fid;

    @ApiModelProperty("车间名称")
    private String fname;

    @ApiModelProperty("车间编码")
    private String fnumber;

    @ApiModelProperty("车间状态")
    private StatusEnum fstatus;

    @ApiModelProperty("车间人数")
    private int fmanqty;

    @ApiModelProperty("识别码 用于系统对接存储第三方识别码")
    private String foid;

    @ApiModelProperty("备注")
    private String fdescription;

    @ApiModelProperty("创建人")
    private Long fcreatorid;

    @ApiModelProperty("创建时间")
    private Date fcreatetime;

    private List<WorkShopEntityResult> entrys;
}
